﻿<Application 
    x:Class="JumpingBalls.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"       
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone">

    <!--应用程序资源-->
    <Application.Resources>
        <!-- Balls -->
        <RadialGradientBrush x:Name="BallBrush0" Opacity="0" />
        <RadialGradientBrush x:Name="BallBrush1" GradientOrigin="0.3,0.3" Center="0.5,0.5">
            <GradientStop Offset="0" Color="#FF96C0FF" />
            <GradientStop Offset="0.8" Color="#FF0080CE" />
            <GradientStop Offset="1.0" Color="#FF0074A3" />
        </RadialGradientBrush>
        <RadialGradientBrush x:Name="BallBrush2" GradientOrigin="0.3,0.3" Center="0.5,0.5">
            <GradientStop Offset="0" Color="#FFFFFF65" />
            <GradientStop Offset="0.8" Color="#FFDCDC00" />
            <GradientStop Offset="1.0" Color="#FFC1C11B" />
        </RadialGradientBrush>
        <RadialGradientBrush x:Name="BallBrush3" GradientOrigin="0.3,0.3" Center="0.5,0.5">
            <GradientStop Offset="0" Color="#FF41FF41" />
            <GradientStop Offset="0.8" Color="#FF19A319" />
            <GradientStop Offset="1.0" Color="#FF106F10" />
        </RadialGradientBrush>
        <RadialGradientBrush x:Name="BallBrush4" GradientOrigin="0.3,0.3" Center="0.5,0.5">
            <GradientStop Offset="0" Color="#FFFF6262" />
            <GradientStop Offset="0.8" Color="#FFBA0000" />
            <GradientStop Offset="1.0" Color="#FF890E0E" />
        </RadialGradientBrush>
        <RadialGradientBrush x:Name="BallBrush5" GradientOrigin="0.3,0.3" Center="0.5,0.5">
            <GradientStop Offset="0" Color="#FFEB90FF" />
            <GradientStop Offset="0.8" Color="#FFAA14C4" />
            <GradientStop Offset="1.0" Color="#FF720093" />
        </RadialGradientBrush>
        <RadialGradientBrush x:Name="BallBrush6" GradientOrigin="0.3,0.3" Center="0.5,0.5">
            <GradientStop Offset="0" Color="#FFE2B777" />
            <GradientStop Offset="0.8" Color="#FFB4800E" />
            <GradientStop Offset="1.0" Color="#FF865F00" />
        </RadialGradientBrush>
    </Application.Resources>

    <Application.ApplicationLifetimeObjects>
        <!--处理应用程序的生存期事件所需的对象-->
        <shell:PhoneApplicationService 
            Launching="Application_Launching" Closing="Application_Closing" 
            Activated="Application_Activated" Deactivated="Application_Deactivated"/>
    </Application.ApplicationLifetimeObjects>

</Application>